#include "stdafx.h"
#include "dmAddInPrj2.h"
#include "OffsetParamDialog.h"

COffsetParamDialog::COffsetParamDialog(CWnd * pParent/* =0 */):
	CDialog(IDD,pParent),
	m_offsetDistance("5")
{
}
BEGIN_MESSAGE_MAP(COffsetParamDialog, CDialog)
	ON_WM_NCDESTROY()
END_MESSAGE_MAP()
void COffsetParamDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX,IDC_txtOffset,m_offsetDistance);
}

void COffsetParamDialog::OnNcDestroy()
{
	CDialog::OnNcDestroy();
	delete this;
}